<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/base/main/pubInclude.jsp" %>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	<title>查询部门/企业所有审批</title>
	<script type="text/javascript" src="${el:getWebRootPath()}/resource/js/sea.js"></script>
	<link  rel="stylesheet" href="${el:getWebRootPath()}/oa/approval/css/approval.css" type="text/css"></link>
	<link  rel="stylesheet" href="${el:getWebRootPath()}/resource/js/easyui/themes/bootstrap/datagrid.css"></link>
</head>
<body class="approval">
<div class="overflowBody">
	<div class="formPadding">
		<form id="searchform" class="searchform hide">
			<div class="tabseach">
				<div class="groundform clear">
			          <label>流程：</label>
			          <div class="inputWidth">
			                <input class="easyui-combobox" id="processkey" name="processkey" data-options="prompt:'请选择流程'">
			          </div>
			     </div>
			     <div class="groundform clear">
			          <label>状态：</label>
			          <div class="inputWidth">
			                <input class="easyui-combobox" id="status" name="status" data-options="prompt:'请选择状态'">
			          </div>
			     </div>
			     <div class="groundform clear">
			          <label>开始日期：</label>
			          <div class="inputWidth">
			               <input class="easyui-datebox" id="starttime" name="starttime" data-options="prompt:'请选择开始时间'">
			          </div>
			     </div>
			     <div class="groundform clear">
			          <label>截止日期：</label>
			          <div class="inputWidth">
			               <input class="easyui-datebox" id="endtime" name="endtime" data-options="prompt:'请选择截止时间'">
			          </div>
			     </div>
			     <div class="groundform clear">
			          <label>申请人：</label>
			          <div class="inputWidth">
			                <input class="easyui-textbox" id="usernames" data-options="prompt:'请选择申请人'">
			                <input type="hidden" id="checkeds" name="checkeds">
			          </div>
			     </div>
			</div>
		</form>
	</div>
	<div class="datagrid-toolbar t-toolbar-h" style="margin:0 20px 10px;">
	  <div class="t-toolbar-div ">所有申请</div>
	    <table cellspacing="0" class="t-toolbar-tab" cellpadding="0">
        	<tr>
          		<td style="display: table-cell;">     
	             <a href="javascript:void(0)" class="l-btn l-btn-small l-btn-plain" id="findQuery">    
		             <span class="l-btn-left l-btn-icon-left">
		               <span class="l-btn-text">查询</span>        
		               <span class="l-btn-icon icon-search">&nbsp;</span>            
		             </span>
	             </a>
         		</td>   
	             <td style="display: table-cell;">        
		             <a href="javascript:void(0)" class="l-btn l-btn-small l-btn-plain"  id="exportExcel" >            
		             <span class="l-btn-left l-btn-icon-left">
		               <span class="l-btn-text">导出</span>
		               <span class="l-btn-icon icon-add">&nbsp;</span>
		             </span>
		             </a>
	         	</td>  
       	 </tr> 
	    </table> 
	</div>
	<div id="dataList" class="dataList"><ul></ul></div>
	<div id="noData" class="noData" style="display:none;">
         <span class="bgpic"></span>
         <span class="textTip">没有审批单</span>
    </div>
    <div class="jgui-drawer jgui-drawer-close jgui-drawer-right" style="z-index: 1000; transition: width 0.3s ease-out, height 0.3s ease;">
		<div class="duty_drawer duty_newform hide">
			<div class="duty_warp">
				<div class="duty_scroll">
				    <div class="duty_header">
						 <span class="close"></span>
						 <h4 id="jgui-title">编辑控件</h4>
				    </div>
					<div class="btnGrounp" style="height:20px;">
						<span id="remindersFile" class="remindersBtn" style="display:none;">催办</span>
					</div>
					<div class="duty_form"><iframe width="100%" height="100%" id="myiframe" style="border: 0;"></iframe></div>
				</div>
			</div>
		</div>
	</div>
	<div id="treedld" class="easyui-dialog" title="" style="width:400px;height:700px;overflow-y:auto;" data-options="iconCls:'icon-save',resizable:false,modal:true,closed:true">
    </div>
</div>
</body>
<script>
	seajs.use("oa/act/approval/queryall/js/queryall",function(queryall){
		queryall.trans();
	});
</script>
</html>